package com.bangcommunity.bbframe.sdm.web.shiro.session;

import org.apache.shiro.session.mgt.SimpleSession;

import java.io.Serializable;

/**
 * 此Session的过期时间可以来源于配置文件
 * 
 * @author tanghc
 *
 */
public class SdmAppSession extends SimpleSession implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = 3895214158821425745L;

    public SdmAppSession(long timeout) {
        super();
        this.setTimeout(timeout);
    }

    public SdmAppSession(String host, long timeout) {
        super(host);
        this.setTimeout(timeout);
    }

}
